/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "app客户资源池添加编辑")
public class CustomerAddResourceDTO implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 客户编码
     * isNullAble:0
     */
    @ApiModelProperty(value = "客户编码")
    private String custCode;
    /**

     /**
     * 客户名称
     * isNullAble:0
     */
    @ApiModelProperty(value = "客户名称")
    private String name;

    /**
     * 当前状态0：未报备   1：已报备
     * isNullAble:0
     */
    @ApiModelProperty(value = "当前状态0：未报备   1：已报备")
    private Integer	status;

    /**
     * 备注
     * isNullAble:0
     */
    @ApiModelProperty(value = "备注")
    private String 	remark;

    /**
     * 报备时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "报备时间")
    private Date reportDate;
    /**
     * 报备id
     * isNullAble:0
     */
    @ApiModelProperty(value = "报备id")
    private Long emplId;
    /**
     * 联系电话
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系电话")
    private String 	mobile;


    /**
     * 联系人
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系人")
    private String 	contact;

    /**
     * 客户产品
     * isNullAble:0
     */
    @ApiModelProperty(value = "主营")
    private String  produce;

}
